package com.applet.system.controller;

import com.applet.code.util.Page;
import com.applet.system.entity.HttpResult;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


import com.applet.system.entity.dto.LoginLogDto;
import com.applet.system.service.LoginLogService;

/**
 * 
 * <b>Description:登录日志</b> 
 * 
 * <b>Author:</b> 1217460714@qq.com
 * <b>Date:</b> 2019年11月21日 上午9:39:02
 * <b>Copyright:</b> Copyright &copy;2018-2018 istp Co., Ltd. All rights reserved.
 * <b>Changelog:</b>
 *   Ver   Date                  Author              Detail
 *   ----------------------------------------------------------------------
 *   1.0  2019年11月21日 上午9:38:01   1217460714@qq.com
 *         new file.
 * </pre>
 */
@RestController
@RequestMapping("/system/loginLog")
public class LoginLogController {
	
	@Autowired
	private LoginLogService loginLogServiceImpl;

	@RequestMapping(value="/getPage")
    public HttpResult getPage(Page page, LoginLogDto login) {
        page.initPagingData(LoginLogDto.class);
        return new HttpResult(page.setResult(this.loginLogServiceImpl.getPage(login)));
    }
    
}
